using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Linq.Expressions;
using GeYiHome.Db.DbContent;
using GeYiHome.Db.IDbBase;
using GeYiHome.Domain.Entities;
using GeYiHome.Domain.Specification.SpecAbstract;
using GeYiHome.PublicLibrary;
using GeYiHome.PublicLibrary.Extension;

namespace GeYiHome.Db.DbBase
{
    public class UnitOfWork : EcgCloudDbContext, IUnitOfWork
    {
        #region Properties

        /// <summary>
        /// CustomEntities
        /// </summary>
        /// <value>The interaction circles.</value>
        public virtual IDbSet<CustomEntity> CustomEntities { get; set; }

        /// <summary>
        /// ProductEntities
        /// </summary>
        /// <value>The interaction circles.</value>
        public virtual IDbSet<ProductEntity> ProductEntities { get; set; }

        /// <summary>
        /// OrderEntities
        /// </summary>
        /// <value>The interaction circles.</value>
        public virtual IDbSet<OrderEntity> OrderEntities { get; set; }

        #endregion
    }
}
